Get Price Change for Token Over An Interval
GET/pricechange/interval/:timeFrame/:tokenAddress
Get Price Change for Token Over An Interval
Request
Path Parameters
timeFrame stringrequired
How far to look back. Allowed values: "ALL","MONTH","WEEK","DAY","HOUR"
Example: ALL
tokenAddress stringrequired
Token Contract Address
Example: 0x495d133B938596C9984d462F007B676bDc57eCEC
Query Parameters
apiKey stringrequired
(Required) Your Public API key
Example: {{publicKey}}
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
timestamp integer
priceChange string
previousPrice string
currentPrice string
{
"data": [
{
"timestamp": 0,
"priceChange": "string",
"previousPrice": "string",
"currentPrice": "string"
}
]
}
Loading...